package com.ketai.appinfo.service;

import com.ketai.appinfo.mapper.DataDictionaryMapper;
import com.ketai.appinfo.pojo.DataDictionary;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
*@Author 刘玉琼
*@Time 2020-11-03
*
*/
@Service
@Transactional
public class DataDictionaryService{

    @Resource
    private DataDictionaryMapper dataDictionaryMapper;

    /**
     * 绑定状态下拉框
     * */
   public  List<DataDictionary> statusSelect() {
        return dataDictionaryMapper.statusSelect();
    }

    /**
     * 绑定所属平台下拉框
     */
   public  List<DataDictionary> flatSelect() {
        return dataDictionaryMapper.flatSelect();
    }

}
